//
//  LBMediaRotateScroller.h
//  LBCropImagePage
//
//  Created by mac on 2024/5/26.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class LBMediaRotateScroller;

@protocol LBMediaRotateScrollerDelegate <NSObject>

- (void)rotateScroller:(LBMediaRotateScroller *)scroller percent:(CGFloat)percent;

@end

@interface LBMediaRotateScroller : UIView

- (instancetype)initWithAngle:(CGFloat)angle;

- (void)updateWithAngle:(CGFloat)angle;

@property (nonatomic, weak) id <LBMediaRotateScrollerDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
